import request from '@/utils/request'

export function getQAList (data) {
  return request({
    url: '/api/setting/qa/index',
    method: 'post',
    data
  })
}

export function answerQA (data) {
  return request({
    url: '/api/setting/qa/answer',
    method: 'post',
    data
  })
}

export function deleteQA (data) {
  return request({
    url: '/api/setting/qa/delete',
    method: 'post',
    data
  })
}

export function detailQA (data) {
  return request({
    url: '/api/setting/qa/detail',
    method: 'post',
    data
  })
}
